package icu.shaoyayu.common.web.dozer;

import org.dozer.DozerBeanMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author shaoyayu
 * @date 2022/2/9
 * @apiNote dozer 转换配置
 */
@Configuration
public class DozerAutoConfiguration  {

    /**
     * @return 返回转换器
     */
    @Bean
    public DozerBeanMapper dozerMapper(){
        return new DozerBeanMapper();
    }



}
